<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/pintuer.css">
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/admin.css">
<script src="${pageContext.request.contextPath}/static/js/jquery.js"></script>
<script src="${pageContext.request.contextPath}/static/js/pintuer.js"></script>
<script type="text/javascript" src="../static/plugin/zTree_v3/js/jquery-1.4.4.min.js"></script>
<link rel="stylesheet" type="text/css" href="../static/plugin/zTree_v3/css/zTreeStyle/zTreeStyle.css">
<script type="text/javascript" src="../static/plugin/zTree_v3/js/jquery.ztree.all.min.js"></script>

<script type="text/javascript">
//异步检验账号是否存在
function doVerify(){
    //获取界面的账号
    var medicalname =  $("#medicalname").val();
    /* alert(account) */
    //获取账号后的提示信息文本
   /*  var accountText = document.getElementById("accountText"); */
    //如果账号输入不为空，执行该方法
    if(medicalname !=""){
        $.ajax({
            url:"${pageContext.request.contextPath}/sys/medicalI.do?method=CheckNameExist",//后台查询验证的方法
            data:{"medicalname": medicalname},//携带的参数
            type: "post",
            success: function(msg){
                //根据后台返回前台的msg给提示信息加HTML
                if("true" !=msg){
                	display.innerHTML = "<font color='#e33'>"+medicalname+"已存在！</font>"
                	}
                else{
                	 // 账号不存在
                    display.innerHTML = "<font color='#61daa5'>"+medicalname+"可以使用！</font>"
                }
                }
              

            /* success: function(data){
            	 var result = jQuery.parseJSON(data);
                 $('#display b').text(result.res);
            } */
        });
    }
}

</script>

</head>
<body>

<div class="panel admin-panel">

  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>设置参合缴费设置</strong></div>
  
  <div class="body-content">
   
    <form method="post" class="form-x" action="${pageContext.request.contextPath}/sys/paysetting.do?method=addPaySettingInfo&tgId=${tgId}&pageNum=1">  
    
      
      <div class="form-group">
        <div class="label">
          <label>开始时间</label>
        </div>
        
        <div class="field">
          <input type="date" class="input w50" value="" name="startTime" data-validate="required:请选择开始时间" />
          <div class="tips"></div>
        </div>
      </div>
      
        <div class="form-group">
        <div class="label">
          <label>结束时间</label>
        </div>
        
        <div class="field">
          <input type="date" class="input w50" value="" name="endTime" data-validate="required:请选择结束时间" />
          <div class="tips"></div>
        </div>
       </div>
       
         <div class="form-group">
        <div class="label">
          <label>缴费金额</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50" value="" name="money" data-validate="required:请输入默认缴费金额" />
          <div class="tips"></div>
        </div>
      </div>
      

      
     
      <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
        </div>
        </div>
      
     
	  
    </form>
  </div>
  
</div>

</body>
</html>